names = ['a','b','c'];
for name in names:
    print(name);
sum = 0;
for x in range(101):
    sum = sum + x;
print(sum);

sum = 0;
n = 99;
while n>0:
    sum =sum+n;
    n = n-2;
print(sum);

L = ['Bart', 'Lisa', 'Adam']

for name in L:
    print("hello %s" % name);

n = 1
while n <= 100:
    if n > 10: # 当n = 11时，条件满足，执行break语句
        break # break语句会结束当前循环
    print(n)
    n = n + 1
print('END')